\hypertarget{classsupport_1_1packet_1_1packet}{\section{packet Class Reference}
\label{classsupport_1_1packet_1_1packet}\index{packet@{packet}}
}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
def \hyperlink{classsupport_1_1packet_1_1packet_ac775ee34451fdfa742b318538164070e}{\-\_\-\-\_\-init\-\_\-\-\_\-}
\item 
def \hyperlink{classsupport_1_1packet_1_1packet_aa7a4b9bc0941308e362738503137460e}{\-\_\-\-\_\-str\-\_\-\-\_\-}
\item 
def \hyperlink{classsupport_1_1packet_1_1packet_ad6ad5102356c7fff6aeaed412168adae}{create\-From\-U\-F\-W}
\item 
def \hyperlink{classsupport_1_1packet_1_1packet_a8162ae27979dcf4b357607c08be7f410}{create\-From\-Iptables}
\item 
def \hyperlink{classsupport_1_1packet_1_1packet_a7ed28c364294f3bb19a99661efb65ef9}{process\-Atributes}
\item 
def \hyperlink{classsupport_1_1packet_1_1packet_a2c7d561592693e726abddb0d655f2f39}{get\-Locations}
\end{DoxyCompactItemize}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classsupport_1_1packet_1_1packet_a71e24db6312e99e75bdc49e89d65948e}{timestamp}
\item 
\hyperlink{classsupport_1_1packet_1_1packet_ac13b96a887a7c6dfcaebc10428201ba8}{M\-A\-C\-I\-N}
\item 
\hyperlink{classsupport_1_1packet_1_1packet_ad0065841d53de041b95dd7cc2aa2d362}{M\-A\-C\-O\-U\-T}
\item 
\hyperlink{classsupport_1_1packet_1_1packet_a99f26e6ee9fcd62f75203b5402df8098}{direction}
\item 
\hyperlink{classsupport_1_1packet_1_1packet_a16e3cb232d173c8a2ef726cc184d5c38}{I\-P}
\item 
\hyperlink{classsupport_1_1packet_1_1packet_ad3fce434ce8d145b7f47b83d495e7d34}{country}
\item 
\hyperlink{classsupport_1_1packet_1_1packet_a294a476f81196cef1ba3abe40f4284bd}{city}
\item 
\hyperlink{classsupport_1_1packet_1_1packet_a6b2179bced5805aee7ac729e08473a00}{longitude}
\item 
\hyperlink{classsupport_1_1packet_1_1packet_a336b37ee42086dd8848e89c39af0fea4}{latitude}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyVerb}Stores the blocked packet information\end{DoxyVerb}
 

Definition at line 9 of file packet.\-py.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{classsupport_1_1packet_1_1packet_ac775ee34451fdfa742b318538164070e}{\index{support\-::packet\-::packet@{support\-::packet\-::packet}!\-\_\-\-\_\-init\-\_\-\-\_\-@{\-\_\-\-\_\-init\-\_\-\-\_\-}}
\index{\-\_\-\-\_\-init\-\_\-\-\_\-@{\-\_\-\-\_\-init\-\_\-\-\_\-}!support::packet::packet@{support\-::packet\-::packet}}
\subsubsection[{\-\_\-\-\_\-init\-\_\-\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}def \-\_\-\-\_\-init\-\_\-\-\_\- (
\begin{DoxyParamCaption}
\item[{}]{self}
\end{DoxyParamCaption}
)}}\label{classsupport_1_1packet_1_1packet_ac775ee34451fdfa742b318538164070e}


Definition at line 11 of file packet.\-py.



\subsection{Member Function Documentation}
\hypertarget{classsupport_1_1packet_1_1packet_aa7a4b9bc0941308e362738503137460e}{\index{support\-::packet\-::packet@{support\-::packet\-::packet}!\-\_\-\-\_\-str\-\_\-\-\_\-@{\-\_\-\-\_\-str\-\_\-\-\_\-}}
\index{\-\_\-\-\_\-str\-\_\-\-\_\-@{\-\_\-\-\_\-str\-\_\-\-\_\-}!support::packet::packet@{support\-::packet\-::packet}}
\subsubsection[{\-\_\-\-\_\-str\-\_\-\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}def \-\_\-\-\_\-str\-\_\-\-\_\- (
\begin{DoxyParamCaption}
\item[{}]{self}
\end{DoxyParamCaption}
)}}\label{classsupport_1_1packet_1_1packet_aa7a4b9bc0941308e362738503137460e}
\begin{DoxyVerb}Default String Output\end{DoxyVerb}
 

Definition at line 22 of file packet.\-py.

\hypertarget{classsupport_1_1packet_1_1packet_a8162ae27979dcf4b357607c08be7f410}{\index{support\-::packet\-::packet@{support\-::packet\-::packet}!create\-From\-Iptables@{create\-From\-Iptables}}
\index{create\-From\-Iptables@{create\-From\-Iptables}!support::packet::packet@{support\-::packet\-::packet}}
\subsubsection[{create\-From\-Iptables}]{\setlength{\rightskip}{0pt plus 5cm}def create\-From\-Iptables (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{log\-Line}
\end{DoxyParamCaption}
)}}\label{classsupport_1_1packet_1_1packet_a8162ae27979dcf4b357607c08be7f410}
\begin{DoxyVerb}Processes a packet from a ipTables/netlog default type log\end{DoxyVerb}
 

Definition at line 34 of file packet.\-py.

\hypertarget{classsupport_1_1packet_1_1packet_ad6ad5102356c7fff6aeaed412168adae}{\index{support\-::packet\-::packet@{support\-::packet\-::packet}!create\-From\-U\-F\-W@{create\-From\-U\-F\-W}}
\index{create\-From\-U\-F\-W@{create\-From\-U\-F\-W}!support::packet::packet@{support\-::packet\-::packet}}
\subsubsection[{create\-From\-U\-F\-W}]{\setlength{\rightskip}{0pt plus 5cm}def create\-From\-U\-F\-W (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{log\-Line}
\end{DoxyParamCaption}
)}}\label{classsupport_1_1packet_1_1packet_ad6ad5102356c7fff6aeaed412168adae}
\begin{DoxyVerb}Processes a packet from a UFW type log\end{DoxyVerb}
 

Definition at line 26 of file packet.\-py.

\hypertarget{classsupport_1_1packet_1_1packet_a2c7d561592693e726abddb0d655f2f39}{\index{support\-::packet\-::packet@{support\-::packet\-::packet}!get\-Locations@{get\-Locations}}
\index{get\-Locations@{get\-Locations}!support::packet::packet@{support\-::packet\-::packet}}
\subsubsection[{get\-Locations}]{\setlength{\rightskip}{0pt plus 5cm}def get\-Locations (
\begin{DoxyParamCaption}
\item[{}]{self}
\end{DoxyParamCaption}
)}}\label{classsupport_1_1packet_1_1packet_a2c7d561592693e726abddb0d655f2f39}
\begin{DoxyVerb}Gets object ip's location(country and city)\end{DoxyVerb}
 

Definition at line 64 of file packet.\-py.

\hypertarget{classsupport_1_1packet_1_1packet_a7ed28c364294f3bb19a99661efb65ef9}{\index{support\-::packet\-::packet@{support\-::packet\-::packet}!process\-Atributes@{process\-Atributes}}
\index{process\-Atributes@{process\-Atributes}!support::packet::packet@{support\-::packet\-::packet}}
\subsubsection[{process\-Atributes}]{\setlength{\rightskip}{0pt plus 5cm}def process\-Atributes (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{atrib}
\end{DoxyParamCaption}
)}}\label{classsupport_1_1packet_1_1packet_a7ed28c364294f3bb19a99661efb65ef9}
\begin{DoxyVerb}processes each packet atribute and stores it in the packet object\end{DoxyVerb}
 

Definition at line 43 of file packet.\-py.



\subsection{Field Documentation}
\hypertarget{classsupport_1_1packet_1_1packet_a294a476f81196cef1ba3abe40f4284bd}{\index{support\-::packet\-::packet@{support\-::packet\-::packet}!city@{city}}
\index{city@{city}!support::packet::packet@{support\-::packet\-::packet}}
\subsubsection[{city}]{\setlength{\rightskip}{0pt plus 5cm}city}}\label{classsupport_1_1packet_1_1packet_a294a476f81196cef1ba3abe40f4284bd}


Definition at line 18 of file packet.\-py.

\hypertarget{classsupport_1_1packet_1_1packet_ad3fce434ce8d145b7f47b83d495e7d34}{\index{support\-::packet\-::packet@{support\-::packet\-::packet}!country@{country}}
\index{country@{country}!support::packet::packet@{support\-::packet\-::packet}}
\subsubsection[{country}]{\setlength{\rightskip}{0pt plus 5cm}country}}\label{classsupport_1_1packet_1_1packet_ad3fce434ce8d145b7f47b83d495e7d34}


Definition at line 17 of file packet.\-py.

\hypertarget{classsupport_1_1packet_1_1packet_a99f26e6ee9fcd62f75203b5402df8098}{\index{support\-::packet\-::packet@{support\-::packet\-::packet}!direction@{direction}}
\index{direction@{direction}!support::packet::packet@{support\-::packet\-::packet}}
\subsubsection[{direction}]{\setlength{\rightskip}{0pt plus 5cm}direction}}\label{classsupport_1_1packet_1_1packet_a99f26e6ee9fcd62f75203b5402df8098}


Definition at line 15 of file packet.\-py.

\hypertarget{classsupport_1_1packet_1_1packet_a16e3cb232d173c8a2ef726cc184d5c38}{\index{support\-::packet\-::packet@{support\-::packet\-::packet}!I\-P@{I\-P}}
\index{I\-P@{I\-P}!support::packet::packet@{support\-::packet\-::packet}}
\subsubsection[{I\-P}]{\setlength{\rightskip}{0pt plus 5cm}I\-P}}\label{classsupport_1_1packet_1_1packet_a16e3cb232d173c8a2ef726cc184d5c38}


Definition at line 16 of file packet.\-py.

\hypertarget{classsupport_1_1packet_1_1packet_a336b37ee42086dd8848e89c39af0fea4}{\index{support\-::packet\-::packet@{support\-::packet\-::packet}!latitude@{latitude}}
\index{latitude@{latitude}!support::packet::packet@{support\-::packet\-::packet}}
\subsubsection[{latitude}]{\setlength{\rightskip}{0pt plus 5cm}latitude}}\label{classsupport_1_1packet_1_1packet_a336b37ee42086dd8848e89c39af0fea4}


Definition at line 20 of file packet.\-py.

\hypertarget{classsupport_1_1packet_1_1packet_a6b2179bced5805aee7ac729e08473a00}{\index{support\-::packet\-::packet@{support\-::packet\-::packet}!longitude@{longitude}}
\index{longitude@{longitude}!support::packet::packet@{support\-::packet\-::packet}}
\subsubsection[{longitude}]{\setlength{\rightskip}{0pt plus 5cm}longitude}}\label{classsupport_1_1packet_1_1packet_a6b2179bced5805aee7ac729e08473a00}


Definition at line 19 of file packet.\-py.

\hypertarget{classsupport_1_1packet_1_1packet_ac13b96a887a7c6dfcaebc10428201ba8}{\index{support\-::packet\-::packet@{support\-::packet\-::packet}!M\-A\-C\-I\-N@{M\-A\-C\-I\-N}}
\index{M\-A\-C\-I\-N@{M\-A\-C\-I\-N}!support::packet::packet@{support\-::packet\-::packet}}
\subsubsection[{M\-A\-C\-I\-N}]{\setlength{\rightskip}{0pt plus 5cm}M\-A\-C\-I\-N}}\label{classsupport_1_1packet_1_1packet_ac13b96a887a7c6dfcaebc10428201ba8}


Definition at line 13 of file packet.\-py.

\hypertarget{classsupport_1_1packet_1_1packet_ad0065841d53de041b95dd7cc2aa2d362}{\index{support\-::packet\-::packet@{support\-::packet\-::packet}!M\-A\-C\-O\-U\-T@{M\-A\-C\-O\-U\-T}}
\index{M\-A\-C\-O\-U\-T@{M\-A\-C\-O\-U\-T}!support::packet::packet@{support\-::packet\-::packet}}
\subsubsection[{M\-A\-C\-O\-U\-T}]{\setlength{\rightskip}{0pt plus 5cm}M\-A\-C\-O\-U\-T}}\label{classsupport_1_1packet_1_1packet_ad0065841d53de041b95dd7cc2aa2d362}


Definition at line 14 of file packet.\-py.

\hypertarget{classsupport_1_1packet_1_1packet_a71e24db6312e99e75bdc49e89d65948e}{\index{support\-::packet\-::packet@{support\-::packet\-::packet}!timestamp@{timestamp}}
\index{timestamp@{timestamp}!support::packet::packet@{support\-::packet\-::packet}}
\subsubsection[{timestamp}]{\setlength{\rightskip}{0pt plus 5cm}timestamp}}\label{classsupport_1_1packet_1_1packet_a71e24db6312e99e75bdc49e89d65948e}


Definition at line 12 of file packet.\-py.



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
D\-:/vmware shared folder/\-L\-P\-D/trunk/src/\-Log Analyser/support/packet.\-py\end{DoxyCompactItemize}
